package com.copm.demonstrationsystem.dto.housetypefeatures;

import com.copm.demonstrationsystem.pojo.housetypefeatures.HouseTypeImage;

/**
 * @author chuyunfei
 * @date: 2018/4/17
 * @description: 定义户型图片在返回对象里面的表现形式
 */
public class HouseTypeImageResponseDto {
    //图片本身
    private HouseTypeImage houseTypeImage;
    //户型名称
    private String roomTypeName;

    public HouseTypeImageResponseDto(){
    }

    public HouseTypeImageResponseDto(HouseTypeImage houseTypeImage,String roomTypeName){
        this.houseTypeImage = houseTypeImage;
        this.roomTypeName = roomTypeName;
    }

    public HouseTypeImage getHouseTypeImage(){
        return houseTypeImage;
    }

    public void setHouseTypeImage(HouseTypeImage houseTypeImage){
        this.houseTypeImage = houseTypeImage;
    }

    public String getRoomTypeName(){
        return roomTypeName;
    }

    public void setRoomTypeName(String roomTypeName){
        this.roomTypeName = roomTypeName;
    }

    @Override
    public String toString(){
        return "HouseTypeImageResponseDto{" + "houseTypeImage=" + houseTypeImage + ", roomTypeName='" + roomTypeName + '\'' + '}';
    }
}
